vs monster:
1) critchance = 2 * luck + equip bonus + character bonus
	character bonus
		+12 Duran
		+10 Kevin
		+8 Hawk
		+10 Angela
		+9 Charlie
		+11 Lise

2) if attacker has energy ball effect: critchance += 12

3) if attacker has a weapon like Colichemarde: critchance += 3x TP

4) critchance = critchance - target.luck

5) critchance = critchance - target.level/16

6) if attacker does not have Hawk's LUK capstone
	critchance = critchance - target.crit resistance
		average monster have 5% crit resistance
		Landumber and Xan Bie have 100%

7) if target was analysed: critchance += 8

8) if target is sleeping: critchance += 15

9) if strong attack: critchance /= 2





vs player:
1) deficit = expected value - luck
	expected value:
		monster level 1-3: 7
		monster level 4-6: 8
		monster level 7-9: 9
		monster level 10-13: 10
		monster level 14-16: 11
		monster level 17-20: 12
		monster level 21-24: 13
		monster level 25-28: 14
		monster level 29-32: 15
		monster level 33-36: 16
		monster level 37-41: 17
		monster level 42-45: 18
		monster level 46-49: 19
		monster level 50-54: 20
		monster level 55-59: 21
		monster level 60-64: 22
		monster level 65-68: 23
		monster level 69-73: 24
		monster level 74-78: 25
		monster level 79-84: 26
		monster level 85-89: 27
		monster level 90-99: 28


2) set critchance based on deficit
	if deficit < -6:	critchance = 2
	if deficit = -6:	critchance = 3
	if deficit = -5:	critchance = 5
	if deficit = -4:	critchance = 7
	if deficit = -3:	critchance = 9
	if deficit = -2:	critchance = 11
	if deficit = -1:	critchance = 13
	if deficit =  0:	critchance = 15
	if deficit =  1:	critchance = 20
	if deficit =  2:	critchance = 30
	if deficit =  3:	critchance = 42
	if deficit =  4:	critchance = 60
	if deficit =  5:	critchance = 80
	if deficit =  6:	critchance = 100
	if deficit =  7:	critchance = 120
	if deficit >  7:	critchance = 150

3) critchance = critchance - armor bonus

4) if Duran is in party and has LUK capstone: critchance = critchance - 15

5) critchance / 2 if Steel Bracelet equipped